Learning Shape Analysis

نویسندگان

  • Marc Brockschmidt
  • Yuxin Chen
  • Pushmeet Kohli
  • Siddharth Krishna
  • Daniel Tarlow
چکیده

We present a data-driven verification framework to automatically prove memory safety of heap-manipulating programs. Our core contribution is a novel statistical machine learning technique that maps observed program states to (possibly disjunctive) separation logic formulas describing the invariant shape of (possibly nested) data structures at relevant program locations. We then attempt to verify these predictions using a program verifier, where counterexamples to a predicted invariant are used as additional input to the shape predictor in a refinement loop. We have implemented our techniques in Locust, an extension of the GRASShopper verification tool. Locust is able to automatically prove memory safety of implementations of classical heap-manipulating programs such as insertionsort, quicksort and traversals of nested data structures.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Learning Shape Models from Examples Using Automatic Shape Clustering and Procrustes Analysis

A new fully automated shape learning method is presented. It is based on clustering a shape training set in the original shape space and performing a Procrustes analysis on each cluster to obtain a cluster prototype and information about shape variation. As a direct application of our shape learning method, a 17-structure shape model of brain substructures was computed from MR image data, an ei...

متن کامل

Unsupervised Learning of Shape Manifolds

Classical shape analysis methods use principal component analysis to reduce the dimensionality of shape spaces. The basic assumption behind these methods is that the subspace corresponding to the major modes of variation for a particular class of shapes is linearised. This may not necessarily be the case in practice. In this paper, we present a novel method for extraction of the intrinsic param...

متن کامل

Marine Animal Classification with Correntropy Loss Based Multi-view Learning

To analyze marine animals behavior, seasonal distribution and abundance, digital imagery can be acquired by visual or Lidar camera. Depending on the quantity and properties of acquired imagery, the animals are characterized as either features (shape, color, texture, etc.), or dissimilarity matrices derived from different shape analysis methods (shape context, internal distance shape context, et...

متن کامل

Learning 2D Shape Models

A new fully automated shape learning method is presented. It is based on clustering a set of training shapes in the original shape space (de ned by the coordinates of the contour points) and performing a Procrustes analysis on each cluster to obtain cluster prototypes and information about shape variation. The main di erence from previously reported methods is that the training set is rst autom...

متن کامل

Comparative Analysis of Kernel Methods for Statistical Shape Learning

Prior knowledge about shape may be quite important for image segmentation. In particular, a number of different methods have been proposed to compute the statistics on a set of training shapes, which are then used for a given image segmentation task to provide the shape prior. In this work, we perform a comparative analysis of shape learning techniques such as linear PCA, kernel PCA, locally li...

متن کامل

Shape Models from Examples using Automatic Shape Clustering andProcrustes

1. Original contribution of this work: Development of a shape classiication method. Development of a novel approach to aligning arbitrary shapes in a common coordinate-parameterization frame. Accuracy improvements of current 2-D exible shape registration methods. Application of the developed methods to brain model design and MR brain image segmentation. 2. Importance of the contribution: Shape ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017